package com.ynet.middleground.approve.dto;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description 下一个任务节点信息传输对象
 * @date 2020-06-28 14:22
 */
@Data
@ApiModel(value = "下一个任务节点信息传输对象", description = "审批流程中任务相关信息")
public class NextTaskDTO implements Serializable {

    private static final long serialVersionUID = -3457489943517075234L;

    @ApiModelProperty(value = "任务定义 key", notes = "任务定义 key", dataType = "String")
    private String id;

    @ApiModelProperty(value = "任务名称", notes = "任务节点名称", dataType = "String")
    private String name;

    @ApiModelProperty(value = "任务处理人", notes = "任务处理人", dataType = "String")
    private String assignee;

    @ApiModelProperty(value = "任务处理候选人列表", notes = "任务处理候选人列表")
    private List<String> candidateUsers;

    @ApiModelProperty(value = "任务处理人候选组列表", notes = "任务处理人候选组列表")
    private List<String> candidateGroups;

    @ApiModelProperty(value = "是否会签", notes = "是否会签", dataType = "boolean")
    private boolean countersign;

}
